using IQIGame.Onigao.Framework;
using IQIGame.Onigao.Game;

namespace IQIGame.Onigao.GamePlay
{
    public class UD_LevelMap : UIBaseData
    {
        public UIMapRoot mapRoot;
        public int targetMcid;

        public static UD_LevelMap Create(UIMapRoot mapRoot, int targetMcid)
        {
            var d = ClassPool<UD_LevelMap>.Get();
            d.mapRoot = mapRoot;
            d.targetMcid = targetMcid;
            return d;
        }

        public override void OnReset()
        {
            mapRoot = null;
            targetMcid = 0;
        }
    }
}
